package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.UpgradeResponse;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by ASUS on 2017/8/25.
 */

public interface UpgradeRequest {
    @GET("upgrade")
    Observable<BaseModel<UpgradeResponse>> getResult(@Query("type") int type,
                                                     @Query("is_force") int is_force,
                                                     @Query("version") int version);
}
